let compTarget = {
    label: "指标",
    icon: "icon-flop",
    children: [
        {
            label: "装饰块",
            option: {
                title: "装饰块",
                name: "装饰块",
                icon: "icon-text",
                img: "/img/assets/button.jpg",
                dataType: 0,
                dataFormatter: "",
                stylesFormatter: "",
                child: {
                    index: [],
                    paramName: ""
                },
                data: {},
                dataMapConfig: [],
                component: {
                    width: 100,
                    height: 100,
                    name: "backgroundBlock",
                    prop: "backgroundBlock"
                },
                option: {
                    circle: false,
                    backgroundColor: "rgba(255, 0, 0, 1)"
                },
                eventNames: [],
                // 事件配置
                eventConfig: []
            }
        },
        {
            label: "翻牌器",
            option: {
                title: "翻牌器",
                name: "翻牌器",
                icon: "icon-flop",
                img: "/img/assets/flop.png",
                top: 0,
                left: 0,
                dataType: 0,
                child: {
                    index: [],
                    paramName: ""
                },
                data: {
                    value: [12]
                },
                dataMapConfig: [],
                dataFormatter: "",
                stylesFormatter: "",
                component: {
                    width: 300,
                    height: 100,
                    name: "flop",
                    prop: "flop"
                },
                option: {
                    rowGap: 0,
                    content: "设备数量：{nt}个",
                    toFixed: 0,
                    fontWeight: "normal",
                    textAlign: "center",
                    fill: "#fff",
                    bgColor: "#67c23a",
                    fontSize: 30
                }
            }
        },
        {
            label: "颜色块",
            option: {
                title: "颜色块",
                name: "颜色块",
                icon: "icon-flop",
                img: "/img/assets/flop2.png",
                child: {
                    index: [],
                    paramName: ""
                },
                top: 0,
                left: 0,
                dataType: 0,
                data: [
                    {
                        backgroundColor: "#67C23A",
                        prefixText: "某某某总人数",
                        value: "12345",
                        suffixText: "人"
                    },
                    {
                        backgroundColor: "#409EFF",
                        prefixText: "某某某总人数",
                        value: "12345",
                        suffixText: "人"
                    },
                    {
                        backgroundColor: "#E6A23C",
                        prefixText: "某某某总人数",
                        value: "12345",
                        suffixText: "人"
                    },
                    {
                        backgroundColor: "#F56C6C",
                        prefixText: "某某某总人数",
                        value: "12345",
                        suffixText: "人"
                    },
                    {
                        backgroundColor: "#7232dd",
                        prefixText: "某某某总人数",
                        value: "12345",
                        suffixText: "人"
                    },
                    {
                        backgroundColor: "blue",
                        prefixText: "某某某总人数",
                        value: "12345",
                        suffixText: "人"
                    }
                ],
                dataFormatter: "",
                stylesFormatter: "",
                dataMapConfig: [],
                component: {
                    width: 888,
                    height: 203,
                    name: "colorBlocks",
                    prop: "colorBlocks"
                },
                option: {
                    span: 3,
                    decimals: 2,
                    whole: true,
                    padding: 12,
                    textAlign: "left",
                    splity: 23,
                    splitx: 17,
                    fontSize: 28,
                    prefixSplity: 4,
                    prefixFontSize: 13,
                    backgroundColor: "#F56C6C",
                    suffixText: "人",
                    suffixInline: true,
                    suffixSplitx: 10,
                    suffixFontSize: 18
                }
            }
        },
        {
            label: "进度条",
            option: {
                title: "进度条",
                name: "进度条",
                icon: "icon-progress",
                img: "/img/assets/progress2.png",
                top: 0,
                left: 0,
                dataType: 0,
                data: {
                    value: 80
                },
                dataFormatter: "",
                stylesFormatter: "",
                dataMapConfig: [],
                component: {
                    width: 400,
                    height: 100,
                    name: "progress",
                    prop: "progress"
                },
                option: {
                    customColor: "#409eff",
                    textInside: true,
                    type: "line",
                    strokeWidth: 14
                }
            }
        },
        // {
        //     label: "仪表盘",
        //     option: {
        //         title: "仪表盘",
        //         icon: "icon-gauge",
        //         img: "/img/assets/gauge.png",
        //         name: "仪表盘",
        //         dataType: 0,
        //         dataMethod: "get",
        //         time: 0,
        //         url: "/gauge",
        //         data: {
        //             min: 1,
        //             max: 10,
        //             label: "名称",
        //             value: 4,
        //             unit: "%"
        //         },
        //         dataFormatter: "",
        //         stylesFormatter: "",
        //         component: {
        //             width: 390,
        //             height: 314,
        //             name: "gauge",
        //             prop: "gauge"
        //         },
        //         option: {
        //             lineSize: 15,
        //             axisLabelShow: false,
        //             axisLabelFontSize: 25,
        //             nameFontSize: 20,
        //             valueFontSize: 30,
        //             nameColor: "",
        //             lineColor: "#eee",
        //             barColor: [
        //                 {
        //                     color1: "rgba(154, 168, 212, 1)",
        //                     postion: "0.2"
        //                 },
        //                 {
        //                     color1: "#23B7E5",
        //                     postion: "0.8"
        //                 },
        //                 {
        //                     color1: "#564AA3",
        //                     postion: "1"
        //                 }
        //             ]
        //         }
        // }
        // }
        {
            label: "字符云",
            option: {
                title: "字符云",
                name: "字符云",
                icon: "icon-wordCloud",
                img: "/img/assets/wordcloud.png",
                top: 725,
                left: 3780,
                dataType: 0,
                dataMethod: "get",
                data: [
                    {
                        name: "三星",
                        value: "1234"
                    },
                    {
                        name: "小米",
                        value: "1234"
                    },
                    {
                        name: "华为",
                        value: "1234"
                    },
                    {
                        name: "oppo",
                        value: "1234"
                    },
                    {
                        name: "抖音",
                        value: "1234"
                    },
                    {
                        name: "快手",
                        value: "1234"
                    },
                    {
                        name: "淘宝",
                        value: "1234"
                    },
                    {
                        name: "百度",
                        value: "1234"
                    },
                    {
                        name: "京东",
                        value: "1234"
                    },
                    {
                        name: "天猫",
                        value: "1234"
                    },
                    {
                        name: "字符1",
                        value: "1234"
                    },
                    {
                        name: "字符1",
                        value: "1234"
                    }
                ],
                dataFormatter: "",
                stylesFormatter: "",
                url: "/wordCloud",
                time: 0,
                component: {
                    name: "wordCloud",
                    prop: "wordCloud",
                    width: 600,
                    height: 300
                },
                option: {
                    minFontSize: 30,
                    maxFontSize: 80,
                    split: 30,
                    rotate: true
                }
            }
        }
    ]
};
